<?php /* Smarty version Smarty-3.1.8, created on 2012-06-14 06:48:15
         compiled from "../includes/interface/templates\contratAjouter.tpl" */ ?>
<?php /*%%SmartyHeaderCode:158924fd9892fe6cff0-94352235%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '2129744333cbd2fed327b20f1e42d71aff24f883' => 
    array (
      0 => '../includes/interface/templates\\contratAjouter.tpl',
      1 => 1339586239,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '158924fd9892fe6cff0-94352235',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_4fd9892feb0868_25685506',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4fd9892feb0868_25685506')) {function content_4fd9892feb0868_25685506($_smarty_tpl) {?><!-- PARTIE CONTRAT AJOUTER TEMPLATE -->

<section id="content">


    <!-- Tableau obligatoire ! Structure du calendrier ! -->
    <table class="ds_box" cellpadding="0" cellspacing="0" id="ds_conclass" style="display: none;">
        <tr>
            <td id="ds_calclass"></td>
        </tr>
    </table>

    <!-- -->

<h2 class="article">Nouveau contrat</h2>
        <fieldset class="form-text">
            <label>Type de contrat</label>
            <select name="type" id="type" onchange="show();">
                <option value="contratPension">Contrat de pension</option>
                <option value="contratAdoption">Contrat d'adoption</option>
                <option value="contratCession">Contrat de cession</option>
                <option value="contratPlacement">Contrat de placement</option>
                <option value="contratRestitution">Contrat de restitution</option>
        	</select>
        </fieldset>
        <section id="contratPension" style="display:none">
        <form action="?action=ajouterContratPension" method="post">
        <fieldset class="form-text">
            <label>Date: </label>
            <input type="text" name="date" value="" id="date" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Lieu: </label>
            <input type="text" name="lieu" value="" id="lieu" class="validate[required,custom[onlyLetter],length[0,12]] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Animal: </label>
            <input type="text" name="animal_id" value="" id="animal_id" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Personne:</label>
            <input type="text" name="personne_id" value="" id="personne_id" class="validate[required] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>Date d'arriv&eacute;e:</label>
            <input type="text" name="dateArrivee" value="" id="dateArrivee" class="validate[required]] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>Date de d&eacute;part:</label>
            <input type="text" name="dateDepart" value="" id="dateDepart" class="validate[required] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>Montant par jour:</label>
            <input type="text" name="montantParJour" value="" id="montantParJour" class="validate[required] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>Frais de vétérinaire:</label>
            <input type="text" name="fraisVeto" value="" id="fraisVeto" class="validate[required] text-input"/>
        </fieldset>
                <fieldset class="form-text">
            <input type="submit" value="Enregistrer"/>
        </fieldset>
        </form>
        </section>
		<section id="contratAdoption" style="display:none">
        <form action="?action=ajouterContratAdoption" method="post">
        <fieldset class="form-text">
            <label>Date: </label>
            <input type="text" name="date" value="" id="date" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Lieu: </label>
            <input type="text" name="lieu" value="" id="lieu" class="validate[required,custom[onlyLetter]] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Animal: </label>
            <input type="text" name="animal_id" value="" id="animal_id" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Personne:</label>
            <input type="text" name="personne_id" value="" id="personne_id" class="validate[required] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>Date d'arriv&eacute;e:</label>
            <input type="text" name="dateDebut" value="" id="dateDebut" class="validate[required] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>Date de d&eacute;part:</label>
            <input type="text" name="dateFin" value="" id="dateFin" class="validate[required] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>Remun&eacute;ration:</label>
            <input type="text" name="remuneration" value="" id="remuneration" class="validate[required] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>Frais de vétérinaire:</label>
            <input type="text" name="traitementVeto" value="" id="traitementVeto" class="validate[required] text-input"/>
        </fieldset>
                <fieldset class="form-text">
            <input type="submit" value="Enregistrer"/>
        </fieldset>
        </form>
        </section>
		<section id="contratCession" style="display:none">
        <form action="?action=ajouterContratCession" method="post">
        <fieldset class="form-text">
            <label>Date: </label>
            <input type="text" name="date" value="" id="date" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Lieu: </label>
            <input type="text" name="lieu" value="" id="lieu" class="validate[required,custom[onlyLetter]] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Animal: </label>
            <input type="text" name="animal_id" value="" id="animal_id" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Personne:</label>
            <input type="text" name="personne_id" value="" id="personne_id" class="validate[required] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>Remarques: </label>
            <textarea name="remarques" id="remarques" class="validate[optional] text-input"></textarea>
        </fieldset>
        </fieldset>
                <fieldset class="form-text">
            <input type="submit" value="Enregistrer"/>
        </fieldset>
        </form>
        </section>
		<section id="contratPlacement" style="display:none">
        <form action="?action=ajouterContratPlacement" method="post">
        <fieldset class="form-text">
            <label>Date: </label>
            <input type="text" name="date" value="" id="date" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Lieu: </label>
            <input type="text" name="lieu" value="" id="lieu" class="validate[required,custom[onlyLetter]] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Animal: </label>
            <input type="text" name="animal_id" value="" id="animal_id" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Personne:</label>
            <input type="text" name="personne_id" value="" id="personne_id" class="validate[required] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <label>V&eacute;t&eacute;rinaire priv&eacute;: </label>
            <input type="text" name="veterinairePrive" value="" id="veterinairePrive" class="validate[required,custom[onlyLetter]] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Date d'arriv&eacute;e: </label>
            <input type="text" name="dateArrivee" value="" id="dateArrivee" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Date de d&eacute;part: </label>
            <input type="text" name="dateDepart" value="" id="dateDepart" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Montant par jour: </label>
            <input type="text" name="montantParJour" value="" id="montantParJour" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Suppl&eacute;ment: </label>
            <input type="text" name="supplement" value="" id="supplement" class="validate[required] text-input"/>
        </fieldset>
       
        <fieldset class="form-text">
            <label>Date de paiement: </label>
            <input type="text" name="datePaiement" value="" id="datePaiement" class="validate[required] text-input"/>
        </fieldset>
        
        </fieldset>
        <fieldset class="form-text">
            <input type="submit" value="Enregistrer"/>
        </fieldset>
        </form>
        </section>
		<section id="contratRestitution" style="display:none">
        <form action="?action=ajouterContratRestitution" method="post">
        <fieldset class="form-text">
            <label>Date: </label>
            <input type="text" name="date" value="" id="date" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Lieu: </label>
            <input type="text" name="lieu" value="" id="lieu" class="validate[required,custom[onlyLetter]] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Animal: </label>
            <input type="text" name="animal_id" value="" id="animal_id" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Personne:</label>
            <input type="text" name="personne_id" value="" id="personne_id" class="validate[required] text-input"/>
        </fieldset>
        
        <fieldset class="form-text">
            <label>Remarque:</label>
            <input type="text" name="remarque" value="" id="remarque" class="validate[optional,custom[onlyLetter]] text-input"/>
        </fieldset>
        <fieldset class="form-text">
            <input type="submit" value="Enregistrer"/>
        </fieldset>
        </form>
        </section>




  


</section>
<?php }} ?>